﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using HotelSoft.HotelManagement_DAO;
using HotelSoft.HotelManagement_DTO;
using System.Data;

namespace HotelSoft.HotelManagement_BUS
{
    class BaoCaoDoanhThuBUS
    {
        DataTable bcdtn = new DataTable();
        private BaoCaoDoanhThuDAO bc = new BaoCaoDoanhThuDAO();
        public  DataTable BaoCaoDoanhThuNgay(DateTime n)
        {
            bcdtn = ChuyenDoi.ToDataTable(bc.BaoCaoDoanhThuNgay(n));
            return bcdtn;
        }

        public DataTable BaoCaoDoanhThuThang(DateTime n)
        {
            bcdtn = ChuyenDoi.ToDataTable(bc.BaoCaoDoanhThuThang(n));
            return bcdtn;
        }

        public DataTable BaoCaoDoanhThuNam(DateTime n)
        {
             bcdtn = ChuyenDoi.ToDataTable(bc.BaoCaoDoanhThuNam(n));
            return bcdtn;
        }
    }
}
